<template>
  <div id="app" class="page-container">
    <!-- SwipeWrapper组件可以使得所有路由页面支持向右侧滑动返回 -->
    <SwipeWrapper class="page-touch-wrapper">
      <keep-alive>
        <router-view />
      </keep-alive>
    </SwipeWrapper>
  </div>
</template>

<script>
import SwipeWrapper from 'swipe-events-wrapper'
export default {
  components: {
    SwipeWrapper
  },
  name: 'App'
}
</script>

<style>
#app {
}
</style>
